13 wchar_t a
[] = L
"áéíóúñ";
14 wchar_t b
[] = L
"ÁÉÍÓÚÑ";
15 //assert(setlocale(LC_ALL, "en_US.UTF-8") != NULL);
16 //assert(setlocale(LC_ALL, "") != NULL);
18 for (int i
=0; i
<6; ++i
){
19 wprintf(L
"el niño %lc in mayúsculas is %lc\n", a
[i
], towupper(a
[i
]));
20 wcout
<< a
[i
] << " by wcout in caps is " << towupper(a
[i
]) << endl
;
25 assert(sizeof(wchar_t) == 4);